<template>
	<view v-if="showOverlay" class="ac-overlay" _class="px-30"> </view>
</template>

<script lang="ts" setup>
import { ref, computed, getCurrentInstance, ComponentInternalInstance } from 'vue';
import { onShow, onReady, onLoad, onPullDownRefresh, onReachBottom } from '@dcloudio/uni-app';

const { proxy } = getCurrentInstance() as ComponentInternalInstance;

let showOverlay = ref<boolean>(false);

onShow(() => {
	console.log('page show');
});

onReady(() => {
	console.log('page ready');
});

onLoad(() => {
	console.log('page load');
});

onPullDownRefresh(() => {
	console.log('下拉刷新');
});

onReachBottom(() => {
	console.log('上拉加载');
});

async function loadData(pageNo: number, pageSize: number) {}
</script>

<style scoped></style>
